Configurations of flags and representations of surface groups in complex hyperbolic geometry