Federer confirms Swiss Indoors