Stability of solitary waves of the Kadomtsev-Petviashvili equation with a weak rotation