A coroner has praised members of the public who battled to save the life of a Lancashire man in a blaze.