Disentangling flow and signals of Chiral Magnetic Effect in U+U, Au+Au and p+Au collisions