Obama endorses bipartisan Senate plan