TDP strikes hard bargain with BJP