The buzzy biotech Perlara got into Y Combinator and raised $10 million from investors like Mark Cuban before things went south. Its founder shares the key lesson he learned from the failure.