commands: Set M4MEMMAP before resetting

Sadly this still isn't enough to make this work
commands: More attempts at reset, yet still doesn't work
path: Fix off-by-one