Optimised if-statements in _accessible_moves()