Obama faults GOP for party’s divisions