If you want to delete a heading programmer step, just click the Heading Programmer button located on the left side of your game screen, then click the step you wish to delete. You will see this icon on your screen:
You will then have to confirm the deletion by clicking this button:
Once it is deleted, your decision cannot be reverted.
You can however edit an existing programming step instead of deleting it.