The baby had a rare genetic disorder that can make children more vulnerable to respiratory infections, the coroner said.