Towards a complete parametrization of the ordinary-mode electromagnetic instability in counterstreaming plasmas. II. Ion effects