Literacy bill compromise gains support of a former foe and passes first hurdle