Portugal’s government has said it will amend its proposed labour reforms after a general strike, the first in more than a decade,