Small refactoring / code simplification

One of the loop bindings in move-{left,right} was constant, so
replace that with a let binding (if needed).
Use assoc-in when the updated value is known beforehand