This MWE
\documentclass{article}
\usepackage{MnSymbol}
\begin{document}
\begin{equation}
v\left(C\right) = \left\{
\begin{array}{l l}
\!\!k\left(C\right), &\text{if $C\cap\mathcal{D}=\emptyset$}\\
\!\!\underbrace{t(P^*_C) + c\left(P^*_C\right) + f\left(P^*_C\right) + \theta_C\left(P^*_C,\tau^*_C\right)}_{cost(P^*_C,\tau^*_C)}, &\text{otherwise}.
\end{array}\right.
\end{equation}
\end{document}
produces this output

How can I achieve something like this instead?

