Analysis and Synthesis of Resilient Heat Exchanger Networks