Federer beats Paire, enters Halle Open quarter-finals