Fired pregnant teacher settles with Montana Catholic school