squash commit to final state