Search for leptophobic Z' bosons decaying into four-lepton final states in proton-proton collisions at sqrt(s) = 8 TeV