Giving home ministry to NCP was a mistake: Maha CM