Stakhovsky stuns Federer