Singh rules out resigning after clash with Gandhi family