Struggling UK supermarket firm Wm Morrison has announced the sale of 30 petrol station forecourt sites to BP, Somerfield and Tesco.