Starting with version 1.11, bmv2 conforms with the P4_16 spec and push_front no longer marks new headers as valid. With this commit, we add calls to setValid after calls to push_front. For people using older bmv2 versions, this means that the new header will be marked valid twice in a row, which should not be an issue.