TOKYO (Reuters) - The dollar firmed against a basket of currencies on Tuesday as the euro and sterling were pressured by political uncertainties in the UK and eurozone, even as it surrendered ground against the perceived safe-haven yen.