Solutions of random-phase approximation equation for positive-semidefinite stability matrix