Search for pair-produced resonances decaying to quark pairs in proton-proton collisions at s =13 TeV