A Newton-like method for solving rank constrained linear matrix inequalities