Effective Boundary Field Theory for a Josephson Junction chain with a weak link