The prime minister says he understands the "anger and frustration" of Labour MPs over his decision to pick Mandelson as Washington ambassador.