Secure Evaluation of Private Linear Branching Programs with Medical Applications