A Solver For Clustered Low-Rank Sdps Arising From Multivariate Polynomial (Matrix) Programs