get_scalar_constant_value() support more Elewmise op.

Needed to detect the right broadcast pattern.
Small modif to make the output of get_canonical_form_slice() simpler<

and test that the opt was applied.