Reducibility of semigroups and nilpotent commutators with idempotents of rank two