Spanish ministers agreed to cut the legal working week to 37.5 hours with no change in salary, despite opposition from employers' associations.