On groups with a permutational property on commutators of weight 4