British Gas has confirmed it will step in to protect the customers of Tomato Energy, which ceased trading last week.