Allscripts trims workforce by 5%, cuts pay for highest earners …