Nitish Kumar resigns as Bihar CM, breaks alliance with BJP