Pro–$p$ groups and towers of rational homology spheres