Constraints on axionlike particles from a combined analysis of three flaring Fermi flat-spectrum radio quasars