You can remove attack (unit editor, attack data - show UI), move the patrol button to the position of the attack button and rename it, and trigger it to order attacks instead.
As for Hold Position, the best you can do is make it trigger an ability.
But as Trillium said, yes it's impossible to remove them.