BJP confirms resignation