BUG: Fix commutativity of {dot,multiply,inner}(scalar, matrix_of_objs)

Fixes #2469 and #4482. Relaxes fail condition to allow subtype as documented.
Merge pull request #4483 from meltingwax/meltingwax/2469

BUG: Fix commutativity of {dot,multiply,inner}(scalar, matrix_of_objects)