Foxconn to invest up to Rs 424 crore in semiconductor JV