This decouples generation of automated commits from the landing logic.
`land-patch.sh` can be used to land the change generated from this script, so there
is no need to duplicate this logic here.
Removing this logic also makes this script much easier to test, as it no longer cares
about the state of the parent branch.
Depends on D7467