Which action best explains the main role of surfactant in the neonate?