Refactored try-move function to be more efficient. TODO: fix h804181960 as it's actually far too harsh on 'corner' boxes