With the clock ticking, scientists working with human embryonic stem cells were grappling Tuesday with how to use their remaining federal research funds before a court ruling forces them to bring their work to an abrupt end.