Controllability analysis of multi-agent systems using relaxed equitable partitions