Algebraic Conditions for Linearization by Input-Output Injection