The US faces a dilemma at climate change talks in Qatar, as the final text approves the principle of compensating poorer nations.