Supreme Court “landmark” ruling will help people with convictions put their past behind them