An army barracks in Pembrokeshire is set to be redeveloped as the home of a deep space radar programme, the Ministry of Defence has announced.